package com.bw.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bw.domain.TraceUserCrops;
import com.bw.service.TraceUserCropsService;
import com.bw.mapper.TraceUserCropsMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author xiaoabiao
* @description 针对表【trace_user_crops】的数据库操作Service实现
* @createDate 2023-08-21 11:22:52
*/
@Service
public class TraceUserCropsServiceImpl extends ServiceImpl<TraceUserCropsMapper, TraceUserCrops>
    implements TraceUserCropsService{

    @Override
    public List<TraceUserCrops> lists() {
        return baseMapper.lists();
    }

    @Override
    public int saveCrops(TraceUserCrops traceUserCrops) {
        return baseMapper.saveCrops(traceUserCrops);
    }

    @Override
    public TraceUserCrops getxq(Long id) {
        return baseMapper.getxq(id);
    }
}




